package pers.aidenj.ostrich.mapper;

import org.apache.ibatis.annotations.Param;

import pers.aidenj.ostrich.model.AdminInformation;

public interface AdminInformationMapper {
    int deleteByPrimaryKey(@Param("id") Integer id, @Param("createUser") Integer createUser);

    int insert(AdminInformation record);

    int insertSelective(AdminInformation record);

    AdminInformation selectByPrimaryKey(@Param("id") Integer id, @Param("createUser") Integer createUser);

    int updateByPrimaryKeySelective(AdminInformation record);

    int updateByPrimaryKeyWithBLOBs(AdminInformation record);

    int updateByPrimaryKey(AdminInformation record);
    
    /**使用**/
    AdminInformation getOneAdmin(AdminInformation record);
}